You are here:
Symbol Reference >
Dew Namespace
>
Dew.Signal Namespace
>
Dew.Signal.Units Namespace
>
Classes
>
SignalUtils Class
>
SignalUtils Methods
>
Goertz Method
>
SignalUtils.Goertz Method ([In] TVec, double)
Dew Signal for .NET
Example
SignalUtils.Goertz Method ([In] TVec, double)
DFT of a single frequency.
using
Dew.Math
;
using
Dew.Math.Editors
;
using
Dew.Math.Units
;
using
Dew.Signal
;
using
Dew.Signal.Units
;
using
Dew.Math.Tee
;
using
Dew.Signal.Tee
;
private
void
button1_Click(
object
sender, EventArgs e) {
Vector
a =
new
Vector
(0); SignalUtils.Tone(a,256,5.5/256,0,12.53,
false
);
//generate a tone
//And now detect the amplitude at non-integer frequency:
MessageBox.Show("Amplitude = " +
Math387.SampleToStr
(
Math387.CAbs
(SignalUtils.Goertz(a,5.5/256))/128,0,15)); }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home